import axios from '../../network/axios'
export const query_branded_api = (params) => {
  return axios({
    method: 'GET',
    url: '/branded/list',
    params
  })
}

export const query_ke_hu_api = (params) => {
  return axios({
    method: 'GET',
    url: '/customer/list',
    params
  })
}
export const query_ke_hu_fu_liao_api = (params) => {
  return axios({
    method: 'GET',
    url: '/customer-ingredients-info/list',
    params
  })
}

export const query_ke_hu_or_pin_pia_by_kejinxuaho_api = (params) => {
  return axios({
    method: 'GET',
    url: '/customer-ingredients-info/getBrandedNameByInputSequence',
    params
  })
}
export const add_data_api = (data) => {
  return axios({
    method: 'POST',
    url: '/customer-ingredients-info/insert',
    data
  })
}

export const query_size_data_api = (params) => {
  return axios({
    method: 'GET',
    url: '/size/list',
    params
  })
}
export const delete_hu_liao_data_api = (params) => {
  return axios({
    method: 'DELETE',
    url: '/customer-ingredients-info/delete',
    params
  })
}
